package cate.game.pvp.minecraft.data;

import cate.game.db.mongo.kv.KvMongo;
import easy.java.dev.note.NoteClass;
import easy.java.dev.note.NoteField;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
@NoteClass("矿洞争霸本服数据")
public class MinecraftKV extends KvMongo {
    @NoteField("是否关闭")
    public boolean close;
    @NoteField("开启时间")
    private long openTime;
    @NoteField("结束时间")
    private long closeTime;

    @Override
    public String getKeyPrefix() {
        return KvMongo.KEY_MINECRAFT_GAME;
    }
}
